#include using namespace std; void main() { int x; x = 0; //pretest loop //while(x < 10) //{ // cout << "I will not talk in class\n"; // //x = x + 1; //increment x // //x++; // x += 1; //} //post test loop //data validation loop (could be done as a pretest loop) do { cout << "x:"; cin >> x; } while(x < 1 || x > 10); //determinant (counted) vs indeterminant loops //if(x == 9) //{ // cout << "stuff" << endl; //} //else if( x > 1) //{ // cout << "x is bigger than 9" << endl; //} //if( x > 9); //{ // cout << 1; // cout << 2; //} }